package com.unidt.www.module.system.service.organ.dto;

import com.unidt.www.framework.common.util.tree.Tree;

import java.util.List;

/**
 * @Author sk
 * @Description:
 * @Date 2023/2/14 14:56
 **/
public class SystemDeptTree implements Tree<SystemDeptTree,Long> {

    private Long id;
    /**
     * 部门名称
     */
    private String name;

    private Long parentId;

    private Long code;

    List<SystemDeptTree> children;

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }




    @Override
    public List<SystemDeptTree> getChildren() {
        return children;
    }

    @Override
    public void setChildren(List<SystemDeptTree> children) {
        this.children = children;
    }
}
